﻿using RayDen.Library.Core.Primitives;

namespace RayDen.Library.Entity.Scene {
    using RayDen.Library.Core.Collections;

    public class GeometryInfo {
        public string Name { get; set; }
        public string MaterialName { get; set; }

        public bool UseNormals;
        public bool UseTextures;
        public bool GlobalIndexing;

        
        public int GlobalIndexOffset;
        public int TexIndexOffset;
        public int NormIndexOffset;


        public FloatStore VertexData;
        public FloatStore NormalData;
        public FloatStore TextureData;
        public IntStore   IndexData;
        public IntStore   NormalIndexData;
        public IntStore   TextureIndexData;

        public Matrix4x4 Transform;

        public GeometryInfo() {
            VertexData = new FloatStore();
            NormalData = new FloatStore();
            TextureData = new FloatStore();
            IndexData = new IntStore();
        }
    }
}
